package com.aircms.pojo;

import java.util.Date;

public class News {
    private Integer id;

    private Integer typeId;

    private String keyWord;

    private String keyWordEn;

    private String title;

    private Byte status;

    private Date createdAt;

    private Date updatedAt;

    private Integer hits;

    private String imageThumb;

    private String imageMid;

    private String video;

    private String image;

    private String newsSource;

    private Boolean stick;

    private Integer rank;

    private String digest;

    private Integer authorId;

    private String authorName;

    private Byte authorType;

    private Boolean isHot;

    private Boolean isTop;

    private String content;

    public News(Integer id, Integer typeId, String keyWord, String keyWordEn, String title, Byte status, Date createdAt, Date updatedAt, Integer hits, String imageThumb, String imageMid, String video, String image, String newsSource, Boolean stick, Integer rank, String digest, Integer authorId, String authorName, Byte authorType, Boolean isHot, Boolean isTop) {
        this.id = id;
        this.typeId = typeId;
        this.keyWord = keyWord;
        this.keyWordEn = keyWordEn;
        this.title = title;
        this.status = status;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
        this.hits = hits;
        this.imageThumb = imageThumb;
        this.imageMid = imageMid;
        this.video = video;
        this.image = image;
        this.newsSource = newsSource;
        this.stick = stick;
        this.rank = rank;
        this.digest = digest;
        this.authorId = authorId;
        this.authorName = authorName;
        this.authorType = authorType;
        this.isHot = isHot;
        this.isTop = isTop;
    }

    public News(Integer id, Integer typeId, String keyWord, String keyWordEn, String title, Byte status, Date createdAt, Date updatedAt, Integer hits, String imageThumb, String imageMid, String video, String image, String newsSource, Boolean stick, Integer rank, String digest, Integer authorId, String authorName, Byte authorType, Boolean isHot, Boolean isTop, String content) {
        this.id = id;
        this.typeId = typeId;
        this.keyWord = keyWord;
        this.keyWordEn = keyWordEn;
        this.title = title;
        this.status = status;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
        this.hits = hits;
        this.imageThumb = imageThumb;
        this.imageMid = imageMid;
        this.video = video;
        this.image = image;
        this.newsSource = newsSource;
        this.stick = stick;
        this.rank = rank;
        this.digest = digest;
        this.authorId = authorId;
        this.authorName = authorName;
        this.authorType = authorType;
        this.isHot = isHot;
        this.isTop = isTop;
        this.content = content;
    }

    public News() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord == null ? null : keyWord.trim();
    }

    public String getKeyWordEn() {
        return keyWordEn;
    }

    public void setKeyWordEn(String keyWordEn) {
        this.keyWordEn = keyWordEn == null ? null : keyWordEn.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public String getImageThumb() {
        return imageThumb;
    }

    public void setImageThumb(String imageThumb) {
        this.imageThumb = imageThumb == null ? null : imageThumb.trim();
    }

    public String getImageMid() {
        return imageMid;
    }

    public void setImageMid(String imageMid) {
        this.imageMid = imageMid == null ? null : imageMid.trim();
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getNewsSource() {
        return newsSource;
    }

    public void setNewsSource(String newsSource) {
        this.newsSource = newsSource == null ? null : newsSource.trim();
    }

    public Boolean getStick() {
        return stick;
    }

    public void setStick(Boolean stick) {
        this.stick = stick;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest == null ? null : digest.trim();
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName == null ? null : authorName.trim();
    }

    public Byte getAuthorType() {
        return authorType;
    }

    public void setAuthorType(Byte authorType) {
        this.authorType = authorType;
    }

    public Boolean getIsHot() {
        return isHot;
    }

    public void setIsHot(Boolean isHot) {
        this.isHot = isHot;
    }

    public Boolean getIsTop() {
        return isTop;
    }

    public void setIsTop(Boolean isTop) {
        this.isTop = isTop;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}